<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-gameTable-add">
			<input name="belongGame"  type="hidden" id="treeId"/>
			<div class="form-group">
				<label class="col-sm-3 control-label">所属游戏：</label>
				<div class="col-sm-8">
					<input class="form-control" type="text" id="treeName" onclick="selectGameTree()" readonly="true">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">所属倍数：</label>
				<div class="col-sm-8">
					<input id="belongMultiple" name="belongMultiple" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">桌号：</label>
				<div class="col-sm-8">
					<input id="tableNumber" name="tableNumber" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">奖池：</label>
				<div class="col-sm-8">
					<input id="prizePool" name="prizePool" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">奖池浮动值：</label>
				<div class="col-sm-8">
					<input id="prizePoolVariance" name="prizePoolVariance" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">抽水比例：</label>
				<div class="col-sm-8">
					<input id="pumpWater" name="pumpWater" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
	<script th:src="@{/ruoyi/common.js}"></script>
    <script type="text/javascript">
		var prefix = ctx + "jl/gameTable"
		$("#form-gameTable-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-gameTable-add').serialize());
	        }
	    }
	</script>
</body>
</html>
